//
//  NewShopcartCell.h
//  FD
//
//  Created by xiaofang wang on 2018/11/20.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <UIKit/UIKit.h>
@class NewShopcartModel;

NS_ASSUME_NONNULL_BEGIN
@interface NewShopcartCell : UITableViewCell
/**数据模型*/
@property (nonatomic, strong) NewShopcartModel *model;
/**计算cell高度*/
@property (nonatomic) CGFloat newShopcartCellHeight;

/**减➖*/
@property (nonatomic, copy) void(^newshopcartCellMinuBlock) (void);
/**加➕*/
@property (nonatomic, copy) void(^newshopcartCellAddBlock) (void);


/**更新数量*/
- (void)cellUpdateCount:(NSInteger)count;
@end


NS_ASSUME_NONNULL_END
/**
 {"event":"SUCCESS","data":[{"quantity":1,"goods":{"originalPrice":0.00,"ingredientClassify":[{"name":"No","ingredientList":[{"originalPrice":0.00,"name":"Cherry tomato","currentPrice":0.00,"id":41},{"originalPrice":0.00,"name":"Carrots","currentPrice":0.00,"id":39},{"originalPrice":0.00,"name":"Onion","currentPrice":0.00,"id":38},{"originalPrice":0.00,"name":"Sugar snap beans","currentPrice":0.00,"id":43},{"originalPrice":0.00,"name":"Mixed peppers","currentPrice":0.00,"id":42}],"id":6},{"name":"Main","ingredientList":[{"originalPrice":9.00,"name":"Chicken","currentPrice":9.00,"id":49}],"id":8}],"currentPrice":0.00,"id":66,"title":"yaki soba"},"remark":"","id":156},{"quantity":1,"goods":{"originalPrice":0.00,"ingredientClassify":[{"name":"No","ingredientList":[{"originalPrice":0.00,"name":"Carrots","currentPrice":0.00,"id":39},{"originalPrice":0.00,"name":"Onion","currentPrice":0.00,"id":38},{"originalPrice":0.00,"name":"Sugar snap beans","currentPrice":0.00,"id":43},{"originalPrice":0.00,"name":"Mixed peppers","currentPrice":0.00,"id":42},{"originalPrice":0.00,"name":"Cherry tomato","currentPrice":0.00,"id":41},{"originalPrice":0.00,"name":"Pineapples","currentPrice":0.00,"id":40}],"id":6},{"name":"Main","ingredientList":[{"originalPrice":10.00,"name":"House special","currentPrice":10.00,"id":51}],"id":8}],"currentPrice":0.00,"id":67,"title":"pad thai fried rice"},"remark":"","id":155}],"describe":""}
 */
